<?php


class Application_Controllers_IndexController{
 public function __construct($action) {
        switch ($action) {
            case "ShowIndexAction":
                $this->_showIndex();
                break;
            case "ShowHomeAction":
                $this->_showHome();
                break;
            case "ShowLoginAction":
                $this->_showLoginAction();
                break;
            case 'ValidateLoginAction';
                $this->_validateLogin();
                break;
            case 'RegisterViewAction':
                $this->_showRegister();
            default : $this->_showIndex();
        }
    }
    private function _showRegister(){
        
    }

    private function _showIndex(){
        $view= new Application_Views_IndexView();
                $view->showIndex();
    }

    private function _showLoginAction() {
        $view = new Application_Views_IndexView();
        $view->showLogin();
    }
    
    private function _showHome(){
        $view = new Application_Views_IndexView();
        $view->showHome();
    }
}
?>

